<div class="notification-main">
	<div class="History-box">
	  <h1 class="title">Notifications History</h1>

<?php $this->widget('zii.widgets.grid.CGridView', 
  array(
  'id'=>'notification-grid',
  'dataProvider'=>$not_history->search_my(),

  'columns'=>array(
    array(
      'name'=>'created',
      'value' => function($data){return  date('Y-m-d H:i:s',$data->created);},
      ),
    array(
      'name'=>'type',
      'value' => '$data->type',
      ),
    array(
      'name'=>'message',
      'value' =>'$data->message',
      ),
    ),
)); ?>

	</div>
</div>